package com.laicunba.pojo;

import java.math.BigDecimal;

import org.springframework.stereotype.Component;

import com.laicunba.annotation.MyColumn;
import com.laicunba.annotation.MyTable;

/**
 * 合同号，即ＩＤ号
 * 
 * @author jiagoushi
 *
 */
@Component
@MyTable
public class JzhBidOrderDO extends BaseDO {
	private String mchntTxnSsn;
	private String contractNo;
	private String status;// new, success 成功放款
	private String financingTargetId; // 标的ID
	private String bidUserId; // 投标用户
	private BigDecimal buyAmount; // 购买数量(元)
	private BigDecimal rate; // 年化利率 单位为 %,即 1表示 1%的收益
	@MyColumn(type = "bool DEFAULT false")
	private boolean isPay; // 是否已支付
	private String cashCouponId;// 现金券ID
	private String rateIncrCouponId;// 加息券ID
	@MyColumn(type = "bool DEFAULT false")
	private boolean isTransferCurrent;// 到期是否转活期

	private String outCustNo;
	private String inCustNo;
	private String seq;
	public void setSeq(String seq) {
		this.seq = seq;
	}
	public String getSeq() {
		return seq;
	}
	
	public String getOutCustNo() {
		return outCustNo;
	}

	public void setOutCustNo(String outCustNo) {
		this.outCustNo = outCustNo;
	}

	public String getInCustNo() {
		return inCustNo;
	}

	public void setInCustNo(String inCustNo) {
		this.inCustNo = inCustNo;
	}

	public String getMchntTxnSsn() {
		return mchntTxnSsn;
	}

	public void setMchntTxnSsn(String mchntTxnSsn) {
		this.mchntTxnSsn = mchntTxnSsn;
	}

	public String getContractNo() {
		return contractNo;
	}

	public void setContractNo(String contractNo) {
		this.contractNo = contractNo;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getFinancingTargetId() {
		return financingTargetId;
	}

	public void setFinancingTargetId(String financingTargetId) {
		this.financingTargetId = financingTargetId;
	}

	public String getBidUserId() {
		return bidUserId;
	}

	public void setBidUserId(String bidUserId) {
		this.bidUserId = bidUserId;
	}

	public BigDecimal getBuyAmount() {
		return buyAmount;
	}

	public void setBuyAmount(BigDecimal buyAmount) {
		this.buyAmount = buyAmount;
	}

	public BigDecimal getRate() {
		return rate;
	}

	public void setRate(BigDecimal rate) {
		this.rate = rate;
	}

	public boolean isPay() {
		return isPay;
	}

	public void setPay(boolean isPay) {
		this.isPay = isPay;
	}

	public String getCashCouponId() {
		return cashCouponId;
	}

	public void setCashCouponId(String cashCouponId) {
		this.cashCouponId = cashCouponId;
	}

	public String getRateIncrCouponId() {
		return rateIncrCouponId;
	}

	public void setRateIncrCouponId(String rateIncrCouponId) {
		this.rateIncrCouponId = rateIncrCouponId;
	}

	public boolean isTransferCurrent() {
		return isTransferCurrent;
	}

	public void setTransferCurrent(boolean isTransferCurrent) {
		this.isTransferCurrent = isTransferCurrent;
	}

}
